<!DOCTYPE html>
<html>
<head>
<meta name="layout" content="main" />
<title>By City</title>

</head>
<body>
	<div class="header">

		<h1 class="page-title">Welcome</h1>
		<ul class="breadcrumb">
			<li><a href="${createLink(uri: '/')}"><g:message
						code="default.home.label" /></a></li>

<li><g:link controller="review" action="country"
					id="${cityInstance?.parent?.parent?.id }">
					${cityInstance?.parent?.parent?.name?.encodeAsHTML() }
				</g:link></li>
			<li><g:link controller="review" action="state"
					id="${cityInstance?.parent?.id }">
					${cityInstance?.parent?.name?.encodeAsHTML() }
				</g:link></li>
			<li class="active">
				${cityInstance?.name }
			</li>
		</ul>

	</div>
	<div class="main-content">

		
		<table class="table table-striped">
			<tbody>
				<g:each in="${cityInstance?.hotels}" var="hotelInstance">
					<tr>

						<td>
						<g:link controller="review" action="index" id="${hotelInstance?.id }">
							${fieldValue(bean: hotelInstance, field: "name")}
							</g:link>
						</td>

						

						<td>
							${fieldValue(bean: hotelInstance, field: "city")}<br>
							${fieldValue(bean: hotelInstance, field: "starRating")}
							
						</td>

						
					</tr>
				</g:each>
			</tbody>
		</table>
		
	</div>
</body>
</html>
